// Original concepts provided by Backbone Boilerplate project: https://github.com/tbranyen/backbone-boilerplate
require.config({
    // Initialize the application with the main application file
    deps: ["main"],

    baseUrl: "js",

    paths: {
        // Libraries
        "jquery": "libs/jquery.min",
        "lodash": "libs/lodash.min",
        "backbone": "libs/backbone.min",
        "localstorage": "libs/backbone-localstorage",
        "bootstrap": "bootstrap/bootstrap"
    },

    shim: {
        "backbone": {
            deps: ["lodash", "jquery"],
            exports: "Backbone"
        },
        
        "localstorage": {
            deps: ["lodash", "jquery"],
            exports: "Store"
        },
    
        "bootstrap": {
            deps: ["jquery"],
            exports: "Bootstrap"
        }
    }
});